package com.lframework.starter.web.inner.bo.system.open;

import com.lframework.starter.web.core.annotations.convert.EncryptConvert;
import com.lframework.starter.web.core.bo.BaseBo;
import com.lframework.starter.web.inner.entity.SysOpenDomain;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class QuerySysOpenDomainBo extends BaseBo<SysOpenDomain> {

    /**
     * ID
     */
    @ApiModelProperty("ID")
    private String id;

    /**
     * 名称
     */
    @ApiModelProperty("名称")
    private String name;

    /**
     * API密钥
     */
    @ApiModelProperty("API密钥")
    @EncryptConvert
    private String apiSecret;

    /**
     * 状态
     */
    @ApiModelProperty("状态")
    private Boolean available;

    /**
     * 租户ID
     */
    @ApiModelProperty("租户ID")
    private Integer tenantId;

    /**
     * 备注
     */
    @ApiModelProperty("备注")
    private String description;

    public QuerySysOpenDomainBo() {

    }

    public QuerySysOpenDomainBo(SysOpenDomain dto) {

        super(dto);
    }
}
